package com.vtc.session10;

import com.vtc.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ExpandableListView;

public class LaptopActivity extends Activity {

	private ExpandableListView lv;
	private LaptopAdapter adapter;
	@Override
	protected void onCreate(Bundle savedInstanceState) {	
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.expandlistview1_activity);
		
		this.lv = (ExpandableListView) findViewById(R.id.expandlistview_laptops);
		this.adapter = new LaptopAdapter(this);
		this.lv.setAdapter(adapter);
	}
}
